package ufc.principal;
public class Aresta {

    private Vertice verticeInicio;
    private Vertice verticeFim;
   
    public Aresta() { }
   
    public Aresta(Vertice v1, Vertice v2) {
            verticeInicio = v1;
            verticeFim = v2;
    }

    public Vertice getVerticeInicio() {
            return verticeInicio;
    }

    public void setVerticeInicio(Vertice verticeInicio) {
            this.verticeInicio = verticeInicio;
    }

    public Vertice getVerticeFim() {
            return verticeFim;
    }

    public void setVerticeFim(Vertice verticeFim) {
            this.verticeFim = verticeFim;
    }
   
}
